#ifndef _STDDEF_H_
#define _STDDEF_H_

#undef NULL
#ifdef __cplusplus
# define NULL 0
#else
# define NULL ((void *) 0)
#endif

#define offsetof(st, m) ((size_t) ((char *) &((st *) (0))->m - (char *) 0))

typedef unsigned int size_t;

#endif
